package com.tripwego.client.event;

import com.google.gwt.event.shared.GwtEvent;
import com.tripwego.client.model.ActiviteModel;

public class AddLodgingCheckoutEvent extends GwtEvent<AddLodgingCheckoutEventHandler> {

	public static Type<AddLodgingCheckoutEventHandler> TYPE = new Type<AddLodgingCheckoutEventHandler>();

	private ActiviteModel activiteModel;

	public AddLodgingCheckoutEvent(ActiviteModel activiteModel) {
		this.activiteModel = activiteModel;
	}

	@Override
	public Type<AddLodgingCheckoutEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(AddLodgingCheckoutEventHandler handler) {
		handler.handleAddLodgingCheckoutEvent(this);
	}

	/**
	 * @return the activiteModel
	 */
	public ActiviteModel getActiviteModel() {
		return activiteModel;
	}

	/**
	 * @param activiteModel the activiteModel to set
	 */
	public void setActiviteModel(ActiviteModel activiteModel) {
		this.activiteModel = activiteModel;
	}
	
	
}